package model23.fangwen;

/**
 * @Author ilongsay
 * @Date: Create in 2019/10/14 23:15
 * @Description: don't bb,show you code
 */
public class Man extends AbstractPerson {

    private String name;

    public Man(String name) {
        this.name = name;
    }

    @Override
    public void accept(Action action) {
        action.getManComment(this);
    }

    @Override
    public String getName() {
        return name;
    }
}
